package com.fix.config;

import com.fix.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <dl>
 * <dd>描述: ~节点业务逻辑实现</dd>
 * <dd>创建时间：  9:33 2020/4/23</dd>
 * <dd>创建人： zz</dd>
 * <dt>版本历史: </dt>
 * <pre>
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2020/4/23      guodong       1.0        1.0 Version
 * </pre>
 * </dl>
 */
@Configuration
public class UserConfig {

    @Bean
    public User user(){
        User user = new User();
        user.setAge(24);
        user.setName("李四");
        return user;
    }
}
